package com.powernode.feign.hystrix;

import com.powernode.domain.UserAddr;
import com.powernode.feign.OrderUserAddrFeign;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 内容:
 * 作者: cy
 */
@Component
@Slf4j
public class OrderUserAddrFeignHystrix implements OrderUserAddrFeign {

    @Override
    public UserAddr getUserDefaultAddr(String openId) {
        log.error("远程调用查询会员的默认收货地址 失败，用户id为{}", openId);
        return null;

    }
}
